package applet;

import java.applet.Applet;

public class MyFrameLauncher extends Applet{
	private static final long serialVersionUID = 663731606416695976L;
	private MyFrame frame;

	public void init(){
	frame = new MyFrame();
	frame.setSize(600, 400);
	frame.setResizable(false);
	frame.setLocationRelativeTo(null); //centers on screen (1.4+)
	}

	public void start(){
	frame.setVisible(true);
	}

	public void stop(){
	frame.setVisible(false);
	}

	public void destroy(){
	frame.dispose();
	}

	}